WP2FA\Methods\TOTP A

Total Complexity 55
Dependencies 11
Dependents 7
Total lines 600
Lines of code 244
Logical lines of code 143
Comment lines 215
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
get_totp_decrypted()
A
50 9 29
api_login_validate()
A
51 9 27
get_user_totp_key_auth()
A
49 8 31
get_totp_key()
S
59 5 13
validate_totp_authentication()
S
59 3 15
set_user_method()
S
61 3 12
init()
S
53 2 22
is_enabled()
S
69 3 6
white_label_option_labels()
S
59 1 18
return_default_selection()
S
69 2 7
regenerate_authentication_key()
S
59 1 14
add_whitelabel_settings()
S
58 1 14
totp_provider_name_translated()
S
74 1 4
totp_provider()
S
76 1 4
get_qr_code()
S
63 1 10
settings_loop()
S
76 1 4
add_default_settings()
S
76 1 4
remove_user_totp_key()
S
75 1 4
get_user_totp_key()
S
79 1 3
set_user_totp_key()
S
79 1 3